/**
 * @description User-Service parameters
 */
export interface IUserOptions {
  uid: number;
}


interface UserContext {
  userId: string,
  refreshToken: string
}

declare module '@midwayjs/core' {
  interface Context {
    userinfo: UserContext,
    token: string
  }
}